﻿namespace HuiLian.Generate
{
    internal class Program
    {
        static void Main(string[] args)
        {
            try
            {
                Console.WriteLine("开始根据实体生成基础代码");

                Creater.Do("RoadData", "道路中心线");
                //Creater.DoDto("SafetyAccident");
                Console.WriteLine("代码生成完成");

                System.IO.File.WriteAllText("test.txt",DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
                System.Threading.Thread.Sleep(1000);
                //Console.ReadKey();
            
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
            
        }
    }
}